import React from 'react'
class Welcome extends React.Component{
   render() {
       const todoList = ['learn react', 'learn redux']
       return (
           <div>
               <ul>
                 {
                    todoList.map((item) => 
                        <li key={item}>{item}</li>
                    )
                 }
               </ul>
           </div>
       )
   }
}

export  default Welcome